﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace RestSubstringOccurrences
{
    
    [ServiceContract]
    public interface IRestSubstringOccurrences
    {

        [OperationContract]
        [WebInvoke(Method = "GET",
         UriTemplate = "Category/{container}/{substring}")]
        string GetNumberOfOccurrences(string container, string substring);



    }
}
